using System;
using System.Security.Cryptography;
using System.Text;
using CodingBlog.Core.ExtensionMethods;
using NUnit.Framework;

namespace CodingBlog.Core.Tests.ExtensionMethods
{
    [TestFixture]
    public class StringExtensionsTests
    {
        [Test]
        public void can_compute_hash_for_string()
        {
            var computed = "test_string".ComputeHash();
            Assert.AreEqual("34-74-85-1A-34-10-90-66-97-EC-77-33-7D-F7-AA-E4", computed);
        }
    }
}